body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
    'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', monospace;
}

html,
body,
#root,
.app-wrapper {
  height: 100%;
}

.app-main {
  width: 100%;
  height: 100%;
  padding: $layoutSpace;
  overflow: auto;
  transform: scale(1);

  /* card 卡片样式 */
  .card-bg {
    box-sizing: border-box;
    padding: 24px;
    overflow: hidden;
    background-color: #ffffff;
    border-radius: $paneBdrs;
  }

  .content-box {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100%;
  }

  .filter-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 32px;
    margin-bottom: 20px;

    .page-title {
      flex-shrink: 0;
      margin: 0;
      font-weight: bold;
    }
  }
}

/* 滚动条 */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
  background-color: #ffffff;
  border-left: 1px solid #f0f0f0;
}

::-webkit-scrollbar-thumb {
  background-color: #dddee0;
  border-radius: 20px;
  box-shadow: inset 0 0 0 #ffffff;
}

// 表格
.ant-table {
  .ant-table-tbody {
    tr {
      &.drop-over-upward {
        td {
          border-top: 2px dashed #1890ff;
        }
      }

      &.drop-over-downward {
        td {
          border-bottom: 2px dashed #1890ff;
        }
      }
    }
  }
}

// menu
.ant-menu {
  .ant-menu-item-selected {
    color: #ffffff;

    &:hover {
      color: #ffffff;
    }

    &.ant-menu-item-selected {
      color: #ffffff;

      &:hover {
        color: #ffffff;
      }
    }
  }
}

// form
// radio
.ant-radio {
  .ant-radio-inner {
    background-color: #ffffff;
  }
}

.pane-container {
  padding: 24px;
  background-color: #ffffff;
  border-radius: $paneBdrs;
}

// 带说明的单选，解决默认样式说明文案无法展示的问题
.radio-with-desc {
  font-size: inherit;

  .ant-radio-wrapper {
    line-height: 32px;
  }
}

// 带说明的多选，解决默认样式说明文案无法展示的问题
.checkbox-with-desc {
  font-size: inherit;

  .ant-checkbox-wrapper {
    line-height: 32px;
  }
}

// 全屏

.jp-modal-fullscreen {
  z-index: 1300;

  .ant-modal {
    top: 0;
    width: 100% !important;
    max-width: 100vw;
    padding-bottom: 0;

    .ant-modal-content {
      height: 100vh;
    }

    .ant-modal-body {
      height: calc(100vh - 55px);
      overflow-x: auto;
      overflow-y: hidden;
    }
  }
}

// 检索标红
.keywords_mark {
  font-weight: bold;
  color: #bd3131;
}
